<template>
    <div>
        这是home页面
    </div>
</template>
<script>
import { getList } from '../api'
export default {
    created() {
        // this.$http.get('/data.json').then(res => {
        //     console.log(res)
        // })
        getList('/data.json').then(res => {
            console.log(res)
        })
    }
}
</script>